<div class="products form">
<?php echo $form->create('Product',array('enctype'=>'multipart/form-data'));?>
	<fieldset>
 		<legend><?php __('Modificar Empresa');?></legend>
	<?php
		echo $form->input('id');
		echo $form->input('nombre_empresa',array('size'=>80));
		echo $form->input('activo');
		echo $form->input('category_id', array('label' => 'Categoria'));
		echo $form->input('direccion');
        echo $form->input('state_id', array('label'=>'Departamento'));
		echo $form->input('city_id', array('label'=>'Ciudad','id'=>'cities'));
		echo '<br /><br />'.$html->image('empresas/'.$this->data['Product']['imagen']);
		echo $form->input('imagen', array('type'=>'file','size'=>80,'label'=>'Logo de la Empresa'));
		echo $form->input('url',array('size'=>80));
		echo $form->input('video',array('size'=>80));
		echo $form->input('file',array('type'=>'file','size'=>80,'label'=>'Archivo (Imagen, PDF, WORD)'));
		echo $form->input('descripcion',array('cols'=>50,'id'=>'Texto'));
                echo $fck->load('Texto', 800, 300);
		echo $form->input('telefono');
		
		echo $form->input('contacto',array('size'=>50));
	
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Eliminar', true), array('action'=>'delete', $form->value('Product.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Product.id'))); ?></li>
		<li><?php echo $html->link(__('Mostrar Products', true), array('action'=>'index'));?></li>
		<li><?php echo $html->link(__('List Categories', true), array('controller'=> 'categories', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Category', true), array('controller'=> 'categories', 'action'=>'add')); ?> </li>
	</ul>
</div>
